package com.homwork;

import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;

public class Test2 {


    public static void main(String[] args) {
        Collection collections= new ArrayList<>();
        collections.add("张三");
        collections.add("张三");
        collections.add("张三");
        collections.clear();
        System.out.println(collections.isEmpty());
    }
}

